﻿using SqlHelper;
using System;

namespace Model.EasyUI
{
    public class Products : EntityBase
    {

        public Products()
        {
            PrimaryKey = "ProductId";
            TableName = "TProduct";
            AllField = "ProductId,ProductName,UnitCost,Status,Prices,Details,Types,Startdate,Enddate,CreateTime,UpdateTime";
            KeyStatus = KeyStatus.Identity;
            OrderBy = " order by ProductId asc ";
        }

        /// <summary>
        /// ID
        /// </summary>
        public int? ProductId { get; set; }
        /// <summary>
        /// 名称
        /// </summary>
        public string ProductName { get; set; }
        /// <summary>
        /// 单位
        /// </summary>
        public int? UnitCost { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public int? Status { get; set; }
        /// <summary>
        /// 价格
        /// </summary>
        public decimal? Prices { get; set; }
        /// <summary>
        /// 详情
        /// </summary>
        public string Details { get; set; }
        /// <summary>
        /// 类型
        /// </summary>
        public int? Types { set; get; }
        /// <summary>
        /// 开始时间
        /// </summary>
        public DateTime? Startdate { set; get; }
        /// <summary>
        /// 结束时间
        /// </summary>
        public DateTime? Enddate { set; get; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateTime { set; get; }
        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime? UpdateTime { set; get; }
    }
}
